#ifndef SESSIONSETTING_H
#define SESSIONSETTING_H

#include <QMainWindow>

namespace Ui {
class SessionSetting;
}

class SessionSetting : public QMainWindow
{
    Q_OBJECT

public:
    explicit SessionSetting(QWidget *parent = nullptr);
    ~SessionSetting();
    void init();
    void ssh_enter();
    void serial_enter();

private slots:
    void on_btn_cancel_clicked();

    void on_btn_ok_clicked();

    void on_btn_SSH_clicked();

    void on_btn_Serial_clicked();

signals:
    void sendHostname_Port(QString portname,int port_BaudRate);
private:
    Ui::SessionSetting *ui;
};

#endif // SESSIONSETTING_H
